Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#21] clean-dotenv #23

Closed
wants to merge 2 commits into from
Closed

[#21] clean-dotenv #23

wants to merge 2 commits into from

Conversation

Monstarrrr
Copy link
Owner

@Monstarrrr Monstarrrr commented Apr 28, 2024

Generating .env.example file automatically using pre-commit.

@Monstarrrr Monstarrrr self-assigned this Apr 28, 2024
@Monstarrrr Monstarrrr mentioned this pull request Apr 30, 2024
14 tasks
@Monstarrrr Monstarrrr linked an issue May 1, 2024 that may be closed by this pull request
14 tasks
@seporterfield
Copy link
Collaborator

I sometimes have multiple copies of vars commented out in my .env for ease of use (e.g. connection info for multiple DBs, only one is uncommented)

Autogenerated .env.template would mean I can't use my .env file like I want to

@Monstarrrr
Copy link
Owner Author

I sometimes have multiple copies of vars commented out in my .env for ease of use (e.g. connection info for multiple DBs, only one is uncommented)

Autogenerated .env.template would mean I can't use my .env file like I want to

It seems they do keep comments hija/clean-dotenv#4
Let me know if that'd work for you.

@seporterfield
Copy link
Collaborator

It seems they do keep comments hija/clean-dotenv#4 Let me know if that'd work for you.

If they keep comments that's even worse, then not only would it be forcing everyone else to have my exact setup but also commit all the other passwords that are currently commented out to version control. I think the negatives outweigh the positives with this one.

@Monstarrrr Monstarrrr closed this May 2, 2024
@Monstarrrr Monstarrrr deleted the feat/21_auto-env branch May 2, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting up pre-commit hooks
2 participants